<script>$(function(){ feedback_obj.list_init(); })</script>
<div class="page-heading">
    <h3><?=$webmaster_config['title'];?></h3>
    <ul class="breadcrumb">
        <li><a href="<?=base_url()?>"><?=$webmaster_config['title'];?></a></li>
        <li>留言系统</li>
        <li class="active"> <?=$model_config['side'][$group_id]['title']?> </li>
    </ul>
</div>
<div class="wrapper">
    <div class='row'>
        <div class='col-sm-12'>
            <section class='panel'>
                <header class='panel-heading'>表格列表</header>
                <div class='panel-body'>
                    <div class="btn-group pull-right">
                        <button type="button" class="btn btn-primary btn-sm select_all"><i class="fa fa-check-square-o"></i> 反选</button>
                        <button type="button" class="btn btn-primary btn-sm group_del"><i class="fa fa-trash-o"></i> 批量删除</button>
                    </div>
                    <table class='table  table-hover general-table'>
                        <thead>
                        <tr>
                            <th width="3%">&nbsp;</th>
                            <th width="3%">序号</th>
                            <th width="20%">名称</th>
                            <th width="20%">邮箱</th>
                            <th width="20%">个人网站</th>
                            <th width="10%">主题</th>
                            <th width="10%">时间</th>
                            <th width="5%">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <?php foreach($list as $k=>$v){?>
                        <tr>
                            <td><input type="checkbox" name="group_del[]" value="<?=$v['fid']?>" /></td>
                            <td valign="middle"><?=++$k?></td>
                            <td><?=$v['name']?></td>
                            <td><?=$v['email']?></td>
                            <td><?=$v['website']?></td>
                            <td><?=$v['subject']?></td>
                            <td><?=date('Y-m-d H:i:s',$v['acctime'])?></td>
                            <td>
                                <a href="<?=base_url('/feedback/info_mod/?fid='.$v['fid'])?>" class='btn btn-xs btn-success edit-btn'><i class='fa fa-search'></i></a>
                                <a href="javascript:void(0)" link="<?=base_url('/feedback/list_del_action/?query_string='.$query_string)?>" data-id="<?=$v['fid']?>" class='btn btn-xs btn-success del-btn'><i class='fa fa-minus'></i></a>
                            </td>
                        </tr>
                        <?php }?>
                        </tbody>
                    </table>
                    <div class="btn-group pull-right">
                        <button type="button" class="btn btn-primary btn-sm select_all"><i class="fa fa-check-square-o"></i> 反选</button>
                        <button type="button" class="btn btn-primary btn-sm group_del"><i class="fa fa-trash-o"></i> 批量删除</button>
                    </div>
                </div>
            </section>
        </div>
    </div>
</div>
